package com.zhuiyun.educations.api.voide.entity;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Set;

/**
 * @ClassName VoideResult
 * @Description TODO
 * @Author yuanb
 * @Date 2023/6/27 10:09
 **/
@Getter
@Setter
public class VoideResult implements Serializable {
    /**
     * 是否跳过上传
     */
    private Boolean skipUpload;

    /**
     * 已上传分片的集合
     */
    private Set<Integer> uploaded;

    public VoideResult() {

    }

    public Boolean getSkipUpload() {
        return skipUpload;
    }

    public void setSkipUpload(Boolean skipUpload) {
        this.skipUpload = skipUpload;
    }



    public VoideResult(Boolean skipUpload, Set<Integer> uploaded) {
        this.skipUpload = skipUpload;
        this.uploaded = uploaded;
    }

    public VoideResult(Boolean skipUpload) {
        this.skipUpload = skipUpload;
    }

    @Override
    public String toString() {
        return "VoideResult{" +
                "skipUpload=" + skipUpload +
                ", uploaded=" + uploaded +
                '}';
    }


}
